//
//  XMDynamicModel.h
//  XunMi
//
//  Created by MacBook on 2024/3/6.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XMDynamicModel : NSObject

@property (nonatomic, copy) NSString *xmId;
/// 用户动态类型 1 纯文字 2 带图片 3 带视频
@property (nonatomic, assign) NSInteger xmModule;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, strong) NSArray <XMFileModel *> *resource;
@property (nonatomic, strong) XMFileModel *avatar;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *user_id;
@property (nonatomic, copy) NSString *person_id;
/// 动态分享数量
@property (nonatomic, assign) NSInteger share;
/// 动态点赞数量
@property (nonatomic, assign) NSInteger likes;

/// 用户性别标识 1 男 2 女
@property (nonatomic, assign) NSInteger gender;
@property (nonatomic, assign) BOOL is_real;
@property (nonatomic, assign) BOOL is_like;
@property (nonatomic, assign) BOOL is_share;
@property (nonatomic, assign) BOOL is_regard;

/// 用户在线状态 0 刚刚活跃 1 用户在线 2 用户离线
@property (nonatomic, assign) NSInteger is_online;
/// 是否本人动态 0 他人 1 本人
@property (nonatomic, assign) BOOL is_myself;
@property (nonatomic, copy) NSString *release_time;
@property (nonatomic, copy) NSString *member_time;


@property (nonatomic, assign) CGFloat cellH;
@property (nonatomic, assign) CGFloat otherCellH;
@property (nonatomic, assign) CGFloat contentH;
@property (nonatomic, assign) CGFloat imageViewH;
@property (nonatomic, assign) BOOL showMore;
@property (nonatomic, assign) BOOL isOpening;

@end

NS_ASSUME_NONNULL_END
